<?php
/**
 * Created by PhpStorm.
 * User: dell1
 * Date: 2016/10/19
 * Time: 18:04
 */
var_dump($_POST['usename']);
var_dump($_REQUEST['usename']);
var_dump($_POST['email']);
var_dump($_REQUEST['email']);
?>
<form action="outside_var.php" method="POST">
    你的名字: <input type="text" name="usename"><br/>
    你的邮件: <input type="text" name="email"><br/>
    <input type="submit" name="submit" value="提交"/>
</form>